public class test {
    //输出1-100之间既能被3整除也能被4整除的数字
    public static void main(String[] args) {
        int i=1;
        while(i<=100){
            if(i%3==0&&i%4==0){
                System.out.print(i+" ");
            }
            i++;
        }
    }
    public static void main1(String[] args) {
        int i=1;
        while(i<=100){
            if(i%12==0) {
                System.out.print(i+" ");
            }
            i++;
        }
    }
}
